package com.hwang.demo1.practice;

import java.util.Scanner;

public class select {
    public static void main(String[] args) {
        input_dou();
    }

    static void input_dou() {
        System.out.println("请输入数据：");
        Scanner sc = new Scanner(System.in);
        double dou = sc.nextDouble();
        System.out.println("dou = "+ dou);
        int i = sc.nextInt();
        System.out.println("i = "+ i );

        if (dou == 1.2){
            System.out.println(dou == 1.2);
        }
        else System.out.println(dou == 1.2);
    }
}
